# Copyright 2021 Wechat Group, Tencent
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: tfcc_runtime/proto/model.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from . import common_pb2 as tfcc__runtime_dot_proto_dot_common__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="tfcc_runtime/proto/model.proto",
    package="tfcc.runtime.model",
    syntax="proto3",
    serialized_pb=_b(
        '\n\x1etfcc_runtime/proto/model.proto\x12\x12tfcc.runtime.model\x1a\x19google/protobuf/any.proto\x1a\x1ftfcc_runtime/proto/common.proto"\n\n\x08Variable"\x06\n\x04View"\x1d\n\x0e\x43onstantTensor\x12\x0b\n\x03ref\x18\x01 \x01(\t"\x07\n\x05Value"\x1c\n\rConstantValue\x12\x0b\n\x03ref\x18\x01 \x01(\t"\x08\n\x06Vector"\x1d\n\x0e\x43onstantVector\x12\x0b\n\x03ref\x18\x01 \x01(\t"\x81\x01\n\x05Shape\x12\x37\n\ndimensions\x18\x01 \x03(\x0b\x32#.tfcc.runtime.model.Shape.Dimension\x1a?\n\tDimension\x12\x0f\n\x05value\x18\x01 \x01(\rH\x00\x12\x0f\n\x05param\x18\x02 \x01(\tH\x00\x42\x10\n\x0e\x44imensionValue"\xf2\x03\n\x06Symbol\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x30\n\tdata_type\x18\x02 \x01(\x0e\x32\x1d.tfcc.runtime.common.DataType\x12\x30\n\x08variable\x18\x03 \x01(\x0b\x32\x1c.tfcc.runtime.model.VariableH\x00\x12(\n\x04view\x18\x04 \x01(\x0b\x32\x18.tfcc.runtime.model.ViewH\x00\x12=\n\x0f\x63onstant_tensor\x18\x05 \x01(\x0b\x32".tfcc.runtime.model.ConstantTensorH\x00\x12*\n\x05value\x18\x06 \x01(\x0b\x32\x19.tfcc.runtime.model.ValueH\x00\x12;\n\x0e\x63onstant_value\x18\x07 \x01(\x0b\x32!.tfcc.runtime.model.ConstantValueH\x00\x12,\n\x06vector\x18\x08 \x01(\x0b\x32\x1a.tfcc.runtime.model.VectorH\x00\x12=\n\x0f\x63onstant_vector\x18\t \x01(\x0b\x32".tfcc.runtime.model.ConstantVectorH\x00\x12(\n\x05shape\x18\n \x01(\x0b\x32\x19.tfcc.runtime.model.ShapeB\r\n\x0bsymbol_type"o\n\x04Node\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x0f\n\x07outputs\x18\x03 \x03(\t\x12\'\n\toperation\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0f\n\x07version\x18\x05 \x01(\r"\x8c\x01\n\x05Graph\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x0f\n\x07outputs\x18\x03 \x03(\t\x12+\n\x07symbols\x18\x04 \x03(\x0b\x32\x1a.tfcc.runtime.model.Symbol\x12\'\n\x05nodes\x18\x05 \x03(\x0b\x32\x18.tfcc.runtime.model.Node"t\n\x05Model\x12\x15\n\rproto_version\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\x12)\n\x06graphs\x18\x03 \x03(\x0b\x32\x19.tfcc.runtime.model.Graph\x12\x1b\n\x13\x65ntrance_graph_name\x18\x04 \x01(\tb\x06proto3'
    ),
    dependencies=[
        google_dot_protobuf_dot_any__pb2.DESCRIPTOR,
        tfcc__runtime_dot_proto_dot_common__pb2.DESCRIPTOR,
    ],
)


_VARIABLE = _descriptor.Descriptor(
    name="Variable",
    full_name="tfcc.runtime.model.Variable",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=114,
    serialized_end=124,
)


_VIEW = _descriptor.Descriptor(
    name="View",
    full_name="tfcc.runtime.model.View",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=126,
    serialized_end=132,
)


_CONSTANTTENSOR = _descriptor.Descriptor(
    name="ConstantTensor",
    full_name="tfcc.runtime.model.ConstantTensor",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="ref",
            full_name="tfcc.runtime.model.ConstantTensor.ref",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=134,
    serialized_end=163,
)


_VALUE = _descriptor.Descriptor(
    name="Value",
    full_name="tfcc.runtime.model.Value",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=165,
    serialized_end=172,
)


_CONSTANTVALUE = _descriptor.Descriptor(
    name="ConstantValue",
    full_name="tfcc.runtime.model.ConstantValue",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="ref",
            full_name="tfcc.runtime.model.ConstantValue.ref",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=174,
    serialized_end=202,
)


_VECTOR = _descriptor.Descriptor(
    name="Vector",
    full_name="tfcc.runtime.model.Vector",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=204,
    serialized_end=212,
)


_CONSTANTVECTOR = _descriptor.Descriptor(
    name="ConstantVector",
    full_name="tfcc.runtime.model.ConstantVector",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="ref",
            full_name="tfcc.runtime.model.ConstantVector.ref",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=214,
    serialized_end=243,
)


_SHAPE_DIMENSION = _descriptor.Descriptor(
    name="Dimension",
    full_name="tfcc.runtime.model.Shape.Dimension",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="value",
            full_name="tfcc.runtime.model.Shape.Dimension.value",
            index=0,
            number=1,
            type=13,
            cpp_type=3,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="param",
            full_name="tfcc.runtime.model.Shape.Dimension.param",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="DimensionValue",
            full_name="tfcc.runtime.model.Shape.Dimension.DimensionValue",
            index=0,
            containing_type=None,
            fields=[],
        ),
    ],
    serialized_start=312,
    serialized_end=375,
)

_SHAPE = _descriptor.Descriptor(
    name="Shape",
    full_name="tfcc.runtime.model.Shape",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="dimensions",
            full_name="tfcc.runtime.model.Shape.dimensions",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[
        _SHAPE_DIMENSION,
    ],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=246,
    serialized_end=375,
)


_SYMBOL = _descriptor.Descriptor(
    name="Symbol",
    full_name="tfcc.runtime.model.Symbol",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="tfcc.runtime.model.Symbol.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="data_type",
            full_name="tfcc.runtime.model.Symbol.data_type",
            index=1,
            number=2,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="variable",
            full_name="tfcc.runtime.model.Symbol.variable",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="view",
            full_name="tfcc.runtime.model.Symbol.view",
            index=3,
            number=4,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="constant_tensor",
            full_name="tfcc.runtime.model.Symbol.constant_tensor",
            index=4,
            number=5,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="value",
            full_name="tfcc.runtime.model.Symbol.value",
            index=5,
            number=6,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="constant_value",
            full_name="tfcc.runtime.model.Symbol.constant_value",
            index=6,
            number=7,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="vector",
            full_name="tfcc.runtime.model.Symbol.vector",
            index=7,
            number=8,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="constant_vector",
            full_name="tfcc.runtime.model.Symbol.constant_vector",
            index=8,
            number=9,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="shape",
            full_name="tfcc.runtime.model.Symbol.shape",
            index=9,
            number=10,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="symbol_type",
            full_name="tfcc.runtime.model.Symbol.symbol_type",
            index=0,
            containing_type=None,
            fields=[],
        ),
    ],
    serialized_start=378,
    serialized_end=876,
)


_NODE = _descriptor.Descriptor(
    name="Node",
    full_name="tfcc.runtime.model.Node",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="tfcc.runtime.model.Node.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="inputs",
            full_name="tfcc.runtime.model.Node.inputs",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="outputs",
            full_name="tfcc.runtime.model.Node.outputs",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="operation",
            full_name="tfcc.runtime.model.Node.operation",
            index=3,
            number=4,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="version",
            full_name="tfcc.runtime.model.Node.version",
            index=4,
            number=5,
            type=13,
            cpp_type=3,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=878,
    serialized_end=989,
)


_GRAPH = _descriptor.Descriptor(
    name="Graph",
    full_name="tfcc.runtime.model.Graph",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="tfcc.runtime.model.Graph.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="inputs",
            full_name="tfcc.runtime.model.Graph.inputs",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="outputs",
            full_name="tfcc.runtime.model.Graph.outputs",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="symbols",
            full_name="tfcc.runtime.model.Graph.symbols",
            index=3,
            number=4,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="nodes",
            full_name="tfcc.runtime.model.Graph.nodes",
            index=4,
            number=5,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=992,
    serialized_end=1132,
)


_MODEL = _descriptor.Descriptor(
    name="Model",
    full_name="tfcc.runtime.model.Model",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="proto_version",
            full_name="tfcc.runtime.model.Model.proto_version",
            index=0,
            number=1,
            type=4,
            cpp_type=4,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="name",
            full_name="tfcc.runtime.model.Model.name",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="graphs",
            full_name="tfcc.runtime.model.Model.graphs",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="entrance_graph_name",
            full_name="tfcc.runtime.model.Model.entrance_graph_name",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1134,
    serialized_end=1250,
)

_SHAPE_DIMENSION.containing_type = _SHAPE
_SHAPE_DIMENSION.oneofs_by_name["DimensionValue"].fields.append(
    _SHAPE_DIMENSION.fields_by_name["value"]
)
_SHAPE_DIMENSION.fields_by_name[
    "value"
].containing_oneof = _SHAPE_DIMENSION.oneofs_by_name["DimensionValue"]
_SHAPE_DIMENSION.oneofs_by_name["DimensionValue"].fields.append(
    _SHAPE_DIMENSION.fields_by_name["param"]
)
_SHAPE_DIMENSION.fields_by_name[
    "param"
].containing_oneof = _SHAPE_DIMENSION.oneofs_by_name["DimensionValue"]
_SHAPE.fields_by_name["dimensions"].message_type = _SHAPE_DIMENSION
_SYMBOL.fields_by_name[
    "data_type"
].enum_type = tfcc__runtime_dot_proto_dot_common__pb2._DATATYPE
_SYMBOL.fields_by_name["variable"].message_type = _VARIABLE
_SYMBOL.fields_by_name["view"].message_type = _VIEW
_SYMBOL.fields_by_name["constant_tensor"].message_type = _CONSTANTTENSOR
_SYMBOL.fields_by_name["value"].message_type = _VALUE
_SYMBOL.fields_by_name["constant_value"].message_type = _CONSTANTVALUE
_SYMBOL.fields_by_name["vector"].message_type = _VECTOR
_SYMBOL.fields_by_name["constant_vector"].message_type = _CONSTANTVECTOR
_SYMBOL.fields_by_name["shape"].message_type = _SHAPE
_SYMBOL.oneofs_by_name["symbol_type"].fields.append(_SYMBOL.fields_by_name["variable"])
_SYMBOL.fields_by_name["variable"].containing_oneof = _SYMBOL.oneofs_by_name[
    "symbol_type"
]
_SYMBOL.oneofs_by_name["symbol_type"].fields.append(_SYMBOL.fields_by_name["view"])
_SYMBOL.fields_by_name["view"].containing_oneof = _SYMBOL.oneofs_by_name["symbol_type"]
_SYMBOL.oneofs_by_name["symbol_type"].fields.append(
    _SYMBOL.fields_by_name["constant_tensor"]
)
_SYMBOL.fields_by_name["constant_tensor"].containing_oneof = _SYMBOL.oneofs_by_name[
    "symbol_type"
]
_SYMBOL.oneofs_by_name["symbol_type"].fields.append(_SYMBOL.fields_by_name["value"])
_SYMBOL.fields_by_name["value"].containing_oneof = _SYMBOL.oneofs_by_name["symbol_type"]
_SYMBOL.oneofs_by_name["symbol_type"].fields.append(
    _SYMBOL.fields_by_name["constant_value"]
)
_SYMBOL.fields_by_name["constant_value"].containing_oneof = _SYMBOL.oneofs_by_name[
    "symbol_type"
]
_SYMBOL.oneofs_by_name["symbol_type"].fields.append(_SYMBOL.fields_by_name["vector"])
_SYMBOL.fields_by_name["vector"].containing_oneof = _SYMBOL.oneofs_by_name[
    "symbol_type"
]
_SYMBOL.oneofs_by_name["symbol_type"].fields.append(
    _SYMBOL.fields_by_name["constant_vector"]
)
_SYMBOL.fields_by_name["constant_vector"].containing_oneof = _SYMBOL.oneofs_by_name[
    "symbol_type"
]
_NODE.fields_by_name["operation"].message_type = google_dot_protobuf_dot_any__pb2._ANY
_GRAPH.fields_by_name["symbols"].message_type = _SYMBOL
_GRAPH.fields_by_name["nodes"].message_type = _NODE
_MODEL.fields_by_name["graphs"].message_type = _GRAPH
DESCRIPTOR.message_types_by_name["Variable"] = _VARIABLE
DESCRIPTOR.message_types_by_name["View"] = _VIEW
DESCRIPTOR.message_types_by_name["ConstantTensor"] = _CONSTANTTENSOR
DESCRIPTOR.message_types_by_name["Value"] = _VALUE
DESCRIPTOR.message_types_by_name["ConstantValue"] = _CONSTANTVALUE
DESCRIPTOR.message_types_by_name["Vector"] = _VECTOR
DESCRIPTOR.message_types_by_name["ConstantVector"] = _CONSTANTVECTOR
DESCRIPTOR.message_types_by_name["Shape"] = _SHAPE
DESCRIPTOR.message_types_by_name["Symbol"] = _SYMBOL
DESCRIPTOR.message_types_by_name["Node"] = _NODE
DESCRIPTOR.message_types_by_name["Graph"] = _GRAPH
DESCRIPTOR.message_types_by_name["Model"] = _MODEL
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Variable = _reflection.GeneratedProtocolMessageType(
    "Variable",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VARIABLE,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.Variable)
    ),
)
_sym_db.RegisterMessage(Variable)

View = _reflection.GeneratedProtocolMessageType(
    "View",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VIEW,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.View)
    ),
)
_sym_db.RegisterMessage(View)

ConstantTensor = _reflection.GeneratedProtocolMessageType(
    "ConstantTensor",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CONSTANTTENSOR,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.ConstantTensor)
    ),
)
_sym_db.RegisterMessage(ConstantTensor)

Value = _reflection.GeneratedProtocolMessageType(
    "Value",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VALUE,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.Value)
    ),
)
_sym_db.RegisterMessage(Value)

ConstantValue = _reflection.GeneratedProtocolMessageType(
    "ConstantValue",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CONSTANTVALUE,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.ConstantValue)
    ),
)
_sym_db.RegisterMessage(ConstantValue)

Vector = _reflection.GeneratedProtocolMessageType(
    "Vector",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VECTOR,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.Vector)
    ),
)
_sym_db.RegisterMessage(Vector)

ConstantVector = _reflection.GeneratedProtocolMessageType(
    "ConstantVector",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CONSTANTVECTOR,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.ConstantVector)
    ),
)
_sym_db.RegisterMessage(ConstantVector)

Shape = _reflection.GeneratedProtocolMessageType(
    "Shape",
    (_message.Message,),
    dict(
        Dimension=_reflection.GeneratedProtocolMessageType(
            "Dimension",
            (_message.Message,),
            dict(
                DESCRIPTOR=_SHAPE_DIMENSION,
                __module__="tfcc_runtime.proto.model_pb2"
                # @@protoc_insertion_point(class_scope:tfcc.runtime.model.Shape.Dimension)
            ),
        ),
        DESCRIPTOR=_SHAPE,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.Shape)
    ),
)
_sym_db.RegisterMessage(Shape)
_sym_db.RegisterMessage(Shape.Dimension)

Symbol = _reflection.GeneratedProtocolMessageType(
    "Symbol",
    (_message.Message,),
    dict(
        DESCRIPTOR=_SYMBOL,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.Symbol)
    ),
)
_sym_db.RegisterMessage(Symbol)

Node = _reflection.GeneratedProtocolMessageType(
    "Node",
    (_message.Message,),
    dict(
        DESCRIPTOR=_NODE,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.Node)
    ),
)
_sym_db.RegisterMessage(Node)

Graph = _reflection.GeneratedProtocolMessageType(
    "Graph",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GRAPH,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.Graph)
    ),
)
_sym_db.RegisterMessage(Graph)

Model = _reflection.GeneratedProtocolMessageType(
    "Model",
    (_message.Message,),
    dict(
        DESCRIPTOR=_MODEL,
        __module__="tfcc_runtime.proto.model_pb2"
        # @@protoc_insertion_point(class_scope:tfcc.runtime.model.Model)
    ),
)
_sym_db.RegisterMessage(Model)


# @@protoc_insertion_point(module_scope)
